package com.liziba.es.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @auther LiZiBa
 * @date 2021/2/25 23:34
 * @description: index.html 访问controller
 **/

@Controller
public class IndexController {

    @GetMapping(value = {"/", "/index"})
    public String index() {
        return "index";
    }
}
